#ifndef _STEP_COUNT_H_
#define _STEP_COUNT_H_
#include <stdint.h>

typedef int16_t data_type;

#define STEP_DATA_LEN 100

typedef struct
{

    data_type ack_steps;    //确认步数，用于实际计步
    data_type search_steps; //搜索步数，未加过滤
} step_rinfo;

#ifdef __cplusplus
extern "C"
{
#endif

    // data_type step_count_algo(data_type *stepData, data_type collectCycle);
    step_rinfo step_count_algo(data_type *x, data_type *y, data_type *z, data_type collectCycle);

#ifdef __cplusplus
}
#endif

#endif
